<div id="<:$page:><:$pageId:>">
	<:include file="<:$base_dir_iphone:>/top_toolbar.tpl":>
	<form id="logMeIn" class="form" action="<:$ctx:>/auth/login/" method="POST">
		<h2>Login Form</h2>
		<ul class="rounded">
			<li>
				<input type="text" placeholder="Username" value="" id="username" name="username">
			</li>
			<li>
				<input type="password" placeholder="Password" value="" id="password" name="password">
			</li>
		</ul>
		<input type="hidden" name="sid" value="<:$smarty.session.sid:>"/>
		<a id="gotoFavorite" target="_webapp" href="<:$ctx:>/favorite"></a>
		<a style="text-align: center;margin:0 10px;color:rgba(0,0,0,.9);" class="wideWhiteButton" onclick="logMeIn()">Login</a>
		<h2>New! Register Now</h2>
		<a style="text-align: center;margin:0 10px;color:rgba(0,0,0,.9);" class="slideleft wideWhiteButton" href="<:$ctx:>/auth/register/?back=Login&view=<:$currentView:>">Tap here to Register</a>
	</form>
	<:include file="<:$base_dir_iphone:>/bottom_tabbar.tpl":>
</div>